<template>
  <div>
<ChildSlot>
  <template #header>
  <div>我是插入的header</div>
  </template>
  <template #main>
    我是插入的有名字的main
  </template>
  <template v-slot="scope">
    {{scope.user.firstName}}
  </template>
</ChildSlot>
  </div>
</template>

<script>
import ChildSlot from '@/demo/slot/ChildSlot.vue'
export default {
  components: {
    ChildSlot
  }
}
</script>

<style>

</style>
